import {HTTP} from '../utils/http'

class ForgetPassWordApi extends HTTP {
    /**
     * 重置密码
     * /sys-user/resetPasswordByVerifyCode
     */
    resetPasswordByVerifyCode(data){
        return this.request({
            url: 'sys-user/resetPasswordByVerifyCode',
            data: data,
            method:'post'
        })
    }
    /**
     * 发送验证码
     * /sys-user/forgetPassword
     */
    forgetSendCode(data){
        return this.request({
            url: 'sys-user/forgetPassword',
            data: data,
            method:'post'
        })
    }
    /**
     * 手机验证码对比
     */
    checkVerifyCode(data){
        return this.request({
            url: 'sys-user/checkVerifyCode',
            data: data,
            method:'post'
        })
    }
}
export default new ForgetPassWordApi
